package com.nbsaas.boot.cms.rest.convert;

import com.nbsaas.boot.cms.data.entity.ArticleTagRelation;
import com.nbsaas.boot.cms.api.domain.response.ArticleTagRelationResponse;

import com.nbsaas.boot.utils.BeanDataUtils;
import com.nbsaas.boot.rest.api.Converter;
/**
* 文章标签关联-实体对象转化成响应对象
*/

public class ArticleTagRelationResponseConvert  implements Converter<ArticleTagRelationResponse,ArticleTagRelation> {

    @Override
    public ArticleTagRelationResponse convert(ArticleTagRelation source) {
        ArticleTagRelationResponse  result = new  ArticleTagRelationResponse();
        BeanDataUtils.copyProperties(source, result);
        return result;
    }

}

